home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / comm / maxs / dfbv13.lha / dfb / Developers / includes / dfb.h < prev    next >
C/C++ Source or Header  |  1992-09-02  |  1KB  |  54 lines

  1. #define ATSTART    0
  2. #define    BUFFER_SIZE    20*1024
  3.  
  4. struct dfbFile {
  5.     UWORD    fb_Length;
  6.     UBYTE    fb_Min;
  7.     UBYTE    fb_Hour;
  8.     UBYTE    fb_Day;
  9.     UBYTE    fb_Month;
  10.     UWORD    fb_Year;
  11.     ULONG    fb_FileSize;
  12.     UWORD    fb_Section;
  13.     UWORD    fb_Down;
  14.     UBYTE    fb_Status;
  15.     UBYTE    fb_Pad;
  16.     ULONG    fb_Future;
  17.     UWORD    fb_NameLen;
  18.     UWORD    fb_DescLen;
  19.     UWORD    fb_UploaderLen;
  20.     UWORD    fb_AliasLen;
  21.     char    *fb_Name;
  22.     char    *fb_Desc;
  23.     char    *fb_Uploader;
  24.     char    *fb_Alias;
  25. };        
  26.  
  27. struct    dfbFileBase {
  28.     ULONG    of_Filehandle;        /* File handle of dfbdata:dfb.data */
  29.     UWORD    of_Length;            /* Length of node just read (0 if at start) */
  30.      UWORD    of_Nextlength;        /* Length of next file node (0 if at last) */
  31.     ULONG    of_Entry;            /* Node # of NEXT file node (this does not count nodes marked with ASTALAVISTA) */
  32.     ULONG    of_Files;            /* Number of files in file base */
  33.     APTR    of_preferences;        /* Pointer to current preferences data */
  34.  
  35.     struct    dfbFile of_temp;        /* Internal data/free ram space */
  36.     char    of_prefree[1*4];    
  37.     char    of_free[33*4];    
  38.     char    of_morefree[6*4];
  39.     char    of_otherfree[33*4];
  40.     ULONG    of_pointer;
  41.     ULONG    of_pointer2;
  42.     char    of_display[30];        /* For DisplayNode function */
  43.     char    of_small[100];
  44.     char    of_lastfree[32];
  45.  
  46.     ULONG    of_nodesize;        /* How many bytes in of_nodes are used */
  47.     ULONG    of_where;            /* Where are we ? */
  48.  
  49.     char    of_nodes[BUFFER_SIZE];
  50.                                 /* 20K for node data */
  51.  
  52.     ULONG    of_colpointer;        /* Pointer to colour table, if you want */
  53. };
  54.